﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoWizard.Meta
{
    public class ValidatorMeta
    {
        ValidatorType _Name;

        public ValidatorType Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        bool _UseTag;
        // 是否使用Tag
        public bool UseTag
        {
            get { return _UseTag; }
            set { _UseTag = value; }
        }

        MessageTemplateType _MessageTemplate;
        // 提示信息模板
        public MessageTemplateType MessageTemplate
        {
            get { return _MessageTemplate; }
            set { _MessageTemplate = value; }
        }

        bool _Negated;
        // 是否启用Negated
        public bool Negated
        {
            get { return _Negated; }
            set { _Negated = value; }
        }

        string _LowerBound;
        // 下界值
        public string LowerBound
        {
            get { return _LowerBound; }
            set { _LowerBound = value; }
        }

        RangeBoundaryType _LowerBoundType;
        // 下界类型
        public RangeBoundaryType LowerBoundType
        {
            get { return _LowerBoundType; }
            set { _LowerBoundType = value; }
        }

        string _UpperBound;
        // 上界值
        public string UpperBound
        {
            get { return _UpperBound; }
            set { _UpperBound = value; }
        }

        RangeBoundaryType _UpperBoundType;
        // 上界类型
        public RangeBoundaryType UpperBoundType
        {
            get { return _UpperBoundType; }
            set { _UpperBoundType = value; }
        }

        
    }
}
